[INFO] cloning repository https://github.com/glitch4347/chess
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/glitch4347/chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fglitch4347%2Fchess", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fglitch4347%2Fchess'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e82027a6808a02d24e042492fdbdf5754daa0f73
[INFO] checking glitch4347/chess against try#d57d2d63e6f308d854fedbafd91d7721b7c651af for pr-110141
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fglitch4347%2Fchess" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/glitch4347/chess on toolchain d57d2d63e6f308d854fedbafd91d7721b7c651af
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d57d2d63e6f308d854fedbafd91d7721b7c651af" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/glitch4347/chess
[INFO] finished tweaking git repo https://github.com/glitch4347/chess
[INFO] tweaked toml for git repo https://github.com/glitch4347/chess written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/glitch4347/chess already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d57d2d63e6f308d854fedbafd91d7721b7c651af" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d57d2d63e6f308d854fedbafd91d7721b7c651af" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fa566f130484c092cf335f928305c3fe3d28b278214965685aa318bd22696822
[INFO] running `Command { std: "docker" "start" "-a" "fa566f130484c092cf335f928305c3fe3d28b278214965685aa318bd22696822", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fa566f130484c092cf335f928305c3fe3d28b278214965685aa318bd22696822", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fa566f130484c092cf335f928305c3fe3d28b278214965685aa318bd22696822", kill_on_drop: false }`
[INFO] [stdout] fa566f130484c092cf335f928305c3fe3d28b278214965685aa318bd22696822
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d57d2d63e6f308d854fedbafd91d7721b7c651af" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 56a741adc6dba297471635939dd649f0e5dd1fe916987994eeeeda79fa8045bc
[INFO] running `Command { std: "docker" "start" "-a" "56a741adc6dba297471635939dd649f0e5dd1fe916987994eeeeda79fa8045bc", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.29
[INFO] [stderr]    Compiling libc v0.2.102
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling syn v1.0.77
[INFO] [stderr]    Compiling futures-core v0.3.17
[INFO] [stderr]    Compiling futures-macro v0.3.17
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling quad-alsa-sys v0.3.2
[INFO] [stderr]    Compiling futures-channel v0.3.17
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling futures-task v0.3.17
[INFO] [stderr]     Checking ogg v0.7.1
[INFO] [stderr]    Compiling futures-util v0.3.17
[INFO] [stderr]     Checking futures-sink v0.3.17
[INFO] [stderr]     Checking dasp_sample v0.11.0
[INFO] [stderr]    Compiling sapp-linux v0.1.13
[INFO] [stderr]     Checking hound v3.4.0
[INFO] [stderr]     Checking futures-io v0.3.17
[INFO] [stderr]     Checking slab v0.4.4
[INFO] [stderr]    Compiling quad-snd v0.2.2
[INFO] [stderr]     Checking dasp_frame v0.11.0
[INFO] [stderr]     Checking pin-project-lite v0.2.7
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]    Compiling anyhow v1.0.44
[INFO] [stderr]     Checking ttf-parser v0.12.3
[INFO] [stderr]     Checking bytemuck v1.7.2
[INFO] [stderr]     Checking glam v0.14.0
[INFO] [stderr]    Compiling macroquad_macro v0.1.7
[INFO] [stderr]     Checking bumpalo v3.7.1
[INFO] [stderr]     Checking smallvec v0.6.14
[INFO] [stderr]     Checking quad-rand v0.2.1
[INFO] [stderr]     Checking tuple-conv v1.0.1
[INFO] [stderr]     Checking png v0.16.8
[INFO] [stderr]     Checking lewton v0.9.4
[INFO] [stderr]     Checking image v0.23.14
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking fontdue v0.5.2
[INFO] [stderr]     Checking audrey v0.3.0
[INFO] [stderr]     Checking miniquad v0.3.0-alpha.37
[INFO] [stderr]     Checking macroquad v0.3.10
[INFO] [stderr]     Checking futures-executor v0.3.17
[INFO] [stderr]     Checking futures v0.3.17
[INFO] [stderr]     Checking chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/game.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::field::{self, Field};
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::piece::PieceType`
[INFO] [stdout]  --> src/types.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::piece::PieceType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/game.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::field::{self, Field};
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::piece::PieceType`
[INFO] [stdout]  --> src/types.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::piece::PieceType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0170]: pattern binding `King` is named the same as one of the variants of the type `piece::PieceType`
[INFO] [stdout]   --> src/piece.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |             King => vec![
[INFO] [stdout]    |             ^^^^ help: to match on the variant, qualify the path: `piece::PieceType::King`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(bindings_with_variant_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0170]: pattern binding `King` is named the same as one of the variants of the type `piece::PieceType`
[INFO] [stdout]   --> src/piece.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |             King => vec![
[INFO] [stdout]    |             ^^^^ help: to match on the variant, qualify the path: `piece::PieceType::King`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(bindings_with_variant_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/piece.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |             King => vec![
[INFO] [stdout]    |             ---- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 38 |             _ => vec![(x - 1, y)]
[INFO] [stdout]    |             ^ unreachable pattern
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/piece.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |             King => vec![
[INFO] [stdout]    |             ---- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 38 |             _ => vec![(x - 1, y)]
[INFO] [stdout]    |             ^ unreachable pattern
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `King`
[INFO] [stdout]   --> src/piece.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |             King => vec![
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_King`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `King`
[INFO] [stdout]   --> src/piece.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |             King => vec![
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_King`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `try_to_select_for_move` is never used
[INFO] [stdout]    --> src/state.rs:124:8
[INFO] [stdout]     |
[INFO] [stdout] 124 |     fn try_to_select_for_move(&mut self, i: usize, j: usize) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `try_to_select_for_move` is never used
[INFO] [stdout]    --> src/state.rs:124:8
[INFO] [stdout]     |
[INFO] [stdout] 124 |     fn try_to_select_for_move(&mut self, i: usize, j: usize) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/state.rs:125:12
[INFO] [stdout]     |
[INFO] [stdout] 125 |         if i < 0 || j < 0 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/state.rs:125:12
[INFO] [stdout]     |
[INFO] [stdout] 125 |         if i < 0 || j < 0 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/state.rs:125:21
[INFO] [stdout]     |
[INFO] [stdout] 125 |         if i < 0 || j < 0 {
[INFO] [stdout]     |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/state.rs:125:21
[INFO] [stdout]     |
[INFO] [stdout] 125 |         if i < 0 || j < 0 {
[INFO] [stdout]     |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `King` should have a snake case name
[INFO] [stdout]   --> src/piece.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |             King => vec![
[INFO] [stdout]    |             ^^^^ help: convert the identifier to snake case (notice the capitalization): `king`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `King` should have a snake case name
[INFO] [stdout]   --> src/piece.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |             King => vec![
[INFO] [stdout]    |             ^^^^ help: convert the identifier to snake case (notice the capitalization): `king`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0170`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0170`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chess` (lib) due to 2 previous errors; 8 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `chess` (lib test) due to 2 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "56a741adc6dba297471635939dd649f0e5dd1fe916987994eeeeda79fa8045bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "56a741adc6dba297471635939dd649f0e5dd1fe916987994eeeeda79fa8045bc", kill_on_drop: false }`
[INFO] [stdout] 56a741adc6dba297471635939dd649f0e5dd1fe916987994eeeeda79fa8045bc
